home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xt
/
XtConfigureWidget.z
/
XtConfigureWidget
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXttttCCCCoooonnnnffffiiiigggguuuurrrreeeeWWWWiiiiddddggggeeeetttt((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttCCCCoooonnnnffffiiiigggguuuurrrreeeeWWWWiiiiddddggggeeeetttt((((3333XXXXtttt))))
NNNNAAAAMMMMEEEE
XtConfigureWidget, XtMoveWidget, XtResizeWidget - move and
resize widgets
SSSSYYYYNNNNTTTTAAAAXXXX
void XtConfigureWidget(_w, _x, _y, _w_i_d_t_h, _h_e_i_g_h_t, _b_o_r_d_e_r__w_i_d_t_h)
Widget _w;
Position _x;
Position _y;
Dimension _w_i_d_t_h;
Dimension _h_e_i_g_h_t;
Dimension _b_o_r_d_e_r__w_i_d_t_h;
void XtMoveWidget(_w, _x, _y)
Widget _w;
Position _x;
Position _y;
void XtResizeWidget(_w, _w_i_d_t_h, _h_e_i_g_h_t, _b_o_r_d_e_r__w_i_d_t_h)
Widget _w;
Dimension _w_i_d_t_h;
Dimension _h_e_i_g_h_t;
Dimension _b_o_r_d_e_r__w_i_d_t_h;
void XtResizeWindow(_w)
Widget _w;
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
_w_i_d_t_h
_h_e_i_g_h_t
_b_o_r_d_e_r__w_i_d_t_h
Specify the new widget size.
_w Specifies the widget.
_x
_y Specify the new widget x and y coordinates.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t function returns immediately if the
specified geometry fields are the same as the old values.
Otherwise, _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t writes the new x, y, width,
height, and border_width values into the widget and, if the
widget is realized, makes an Xlib _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w call on
the widget's window.
If either the new width or height is different from its old
value, _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t calls the widget's resize procedure
to notify it of the size change; otherwise, it simply
returns.
The _X_t_M_o_v_e_W_i_d_g_e_t function returns immediately if the
Page 1 (printed 4/30/98)
XXXXttttCCCCoooonnnnffffiiiigggguuuurrrreeeeWWWWiiiiddddggggeeeetttt((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttCCCCoooonnnnffffiiiigggguuuurrrreeeeWWWWiiiiddddggggeeeetttt((((3333XXXXtttt))))
specified geometry fields are the same as the old values.
Otherwise, _X_t_M_o_v_e_W_i_d_g_e_t writes the new x and y values into
the widget and, if the widget is realized, issues an Xlib
_X_M_o_v_e_W_i_n_d_o_w call on the widget's window.
The _X_t_R_e_s_i_z_e_W_i_d_g_e_t function returns immediately if the
specified geometry fields are the same as the old values.
Otherwise, _X_t_R_e_s_i_z_e_W_i_d_g_e_t writes the new width, height, and
border_width values into the widget and, if the widget is
realized, issues an _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w call on the widget's
window.
If the new width or height are different from the old
values, _X_t_R_e_s_i_z_e_W_i_d_g_e_t calls the widget's resize procedure
to notify it of the size change.
The _X_t_R_e_s_i_z_e_W_i_n_d_o_w function calls the _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w Xlib
function to make the window of the specified widget match
its width, height, and border width. This request is done
unconditionally because there is no way to tell if these
values match the current values. Note that the widget's
resize procedure is not called.
There are very few times to use _X_t_R_e_s_i_z_e_W_i_n_d_o_w; instead, you
should use _X_t_R_e_s_i_z_e_W_i_d_g_e_t.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
XtMakeGeometryRequest(3Xt), XtQueryGeometry(3Xt)
_X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
_X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
Page 2 (printed 4/30/98)